﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Orion.Lib
{
    public class LaserParticle: GraphicElement
    {
        public LaserParticle()
        {
            texture = MyGame.staticContent.Load<Texture2D>("Laser");
        }

        public int Speed
        {
            get { return 5; }
        }

        Color color;
        public Color Color
        {
            get { return color; }
            set { color = value; }
        }

        public override void Draw(GameTime gameTime)
        {
            MyGame.currentScreen.Draw(texture, Possition, Color);
        }

        public override void Update(GameTime gameTime)
        {
            this.PossitionY -= Speed;
        }
    }
}
